using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace 开机启动项设置工具
{
    static class Program
    {
        /// <summary>
        ///  The main entry point for the application.
        /// </summary>
        [STAThread]
        static void Main()
        {
            Application.SetHighDpiMode(HighDpiMode.SystemAware);
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            //if (args.Length == 2 && (args[0].Equals("add") || args[0].Equals("remove")))
            //{
            //    switch (args[0])
            //    {
            //        case "add": 
            //            开机启动项设置工具.Main.AddRegister(args[1], true);
            //            Console.WriteLine("添加成功！");
            //            break;
            //        case "remove": 
            //            开机启动项设置工具.Main.RemoveRegister(args[1], true);
            //            Console.WriteLine("移除成功！");
            //            break;
            //    }
            //    Console.ReadKey();
            //}
            //else
            //{
                Application.Run(new Main());
            //}
        }
    }
}
